<?php
namespace app\index\controller;
use app\BaseController;
use think\facade\View;

class Index extends Base
{
    public function home()
    {dump($this->topVideos[0]['thumb']);
        return View::fetch('',[
            'cates'=>$this->cates,
            'topVideos'=>$this->topVideos
        ]);
    }
    
    public function welcome(){
        return 'hello 来到后台';
    }
}
